{extend name="main/index" /}

{block name="main"}

<div class="main-content">
    <div class="breadcrumbs" id="breadcrumbs">
    <ul class="breadcrumb">
    <li>
        <i class="icon-home home-icon"></i>
        <a href="#">成本管理</a>
    </li>

    <li class="active">项目成本修改</li>
    </ul><!-- .breadcrumb -->

    <div class="nav-search" id="nav-search">
    <form class="form-search">
        <span class="input-icon">
            <input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
            <i class="icon-search nav-search-icon"></i>
        </span>
    </form>
    </div>
    </div>
    <div class="page-content">
        <h3 class="header smaller lighter blue">项目成本修改</h3>
        <div class="row">
            <div class="col-xs-12">
                <form action="{:url('admin/cost/costDoEdit')}" method='post' class="form-horizontal">
                    <input type="hidden" name="id" value="{$data['id']}">
                    <div class="form-group" style="">
                        <label for="" class="col-sm-2 control-label">项目名称：</label>
                        <div class="col-sm-4">
                            <input  type="text" name="project_name" class="form-control"  value="{$data['project_name']}" readonly="true">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-sm-2 control-label">办公成本：</label>
                        <div class="col-sm-4">
                            <input  type="text" name="work_cost" class="form-control" value="{$data['work_cost']}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-sm-2 control-label">材料成本：</label>
                        <div class="col-sm-4">
                            <input  type="text" name="material_cost" value="{$data['material_cost']}" class="form-control"  readonly="true">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-sm-2 control-label">机械成本：</label>
                        <div class="col-sm-4">
                            <input  type="text" name="machine_cost" value="{$data['machine_cost']}" class="form-control" readonly="true">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-sm-2 control-label">安全成本：</label>
                        <div class="col-sm-4">
                            <input  type="text" name="safe_cost" value="{$data['safe_cost']}" class="form-control"  readonly="true">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-sm-2 control-label">劳务成本：</label>
                        <div class="col-sm-4">
                            <input  type="text" name="labour_cost" class="form-control" value="{$data['labour_cost']}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-sm-2 control-label">其它成本：</label>
                        <div class="col-sm-4">
                            <input  type="text" name="else_cost" class="form-control" value="{$data['else_cost']}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-sm-2 control-label">规费：</label>
                        <div class="col-sm-4">
                            <input  type="text" name="charges" class="form-control" value="{$data['charges']}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-sm-2 control-label">税金：</label>
                        <div class="col-sm-4">
                            <input  type="text" name="expenses_taxation" class="form-control" value="{$data['expenses_taxation']}">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-4">
                          <button type="submit" class="btn btn-default">保 存</button>
                        </div>
                    </div>
                </form>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div>
    
</div>

{/block}